package com.sxpi.zixun.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.pug.generator.anno.PugDoc;

import java.util.Date;


/**
 * @Author: 董伟豪
 * @Date: 2022/6/10 15:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("kss_user")
public class User implements java.io.Serializable {
    @PugDoc(name="主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @PugDoc(name="昵称")
    private String nickname;

    @PugDoc(name="真实姓名")
    private String username;

    @PugDoc(name="年龄")
    private Integer age;

    @PugDoc(name="签名")
    private String sign;

    @PugDoc(name="性别")
    private Integer sex;

    @PugDoc(name="浏览数")
    private Integer views;

    @PugDoc(name="职业")
    private String job;

    @PugDoc(name="工作年限")
    private String jobyear;

    @PugDoc(name="地址")
    private String address;

    @PugDoc(name="国家")
    private String country;

    @PugDoc(name="省份")
    private String province;

    @PugDoc(name="城市")
    private String city;

    @PugDoc(name="电话号码")
    private String telephone;

    @PugDoc(name="微信")
    private String weixincode;

    @PugDoc(name="学历")
    private String education;

    @PugDoc(name="生日")
    private String birthday;

    @PugDoc(name="头像")
    private String avatar;

    @PugDoc(name="背景图")
    private String bgimg;
    /**
     * 1 普通 2 月VIP 3季度会员 4 年VIP 5超级VIP 6报名VIP 0过期
     */
    @PugDoc(name="会员")
    private Integer vip;

    @PugDoc(name="vip时间")
    private Date vipTime;

    @PugDoc(name="学习积分")
    private Integer cron;

    @PugDoc(name="学习天数")
    private Integer studydays;
    /**
     * 是否删除 1 删除 0 正常
     */
    @PugDoc(name="删除状态")
    private Integer isDelete;
    /**
     * 是否禁止 1 拉黑 0 正常
     */
    @PugDoc(name="拉黑")
    private Integer forbbiden;

    @PugDoc(name="qq")
    private String qqcode;

    @PugDoc(name="序号")
    private String code;

    @PugDoc(name="角色")
    private String role;

    @PugDoc(name="密码")
    private String password;

    @PugDoc(name="微信登录的唯一id")
    private String openid;

    @PugDoc(name="微信登录的唯一id")
    private String unionid;

    @PugDoc(name="粉丝数")
    private Integer fans;

    @PugDoc(name="关注数")
    private Integer gznums;

    @PugDoc(name="个人博客地址")
    private String bloglink;

    @PugDoc(name="gitee地址")
    private String giteelink;

    @PugDoc(name="bibibi个人地址")
    private String bilibililink;
    /**
     * 在新增的时候填充
     */
    @PugDoc(name="创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 在新增的时候填充
     */
    @PugDoc(name="更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}